#ifndef NETWORKEXCEPTION_H
#define NETWORKEXCEPTION_H
#include <QString>

class NetworkException
{
private:
	QString string;
public:
	NetworkException(QString s)
	{
		string = s;
	}
	NetworkException()
	{
	}
	~NetworkException()
	{
	}
	void setReason(QString s)
	{
		string = s;
	}

        /*!
          @return shows the error message of the exception
        */
	QString showReason() const
	{
		return string;
	}
};
#endif
